%
% Author: Vasyl Mykhalchuk
% 01/02/2012
%
function [ distanceMatrix ] = dijkstra( xMeshGraph, xAdjVertList )

n = xMeshGraph.mMesh.mNumberV;
distanceMatrix = zeros(n, n);
for i = 1:n
    disp(['Dijksta: Processing vertex ' int2str(i) ]);
    distanceMatrix(i, :) = vmDijkstra( xMeshGraph, xAdjVertList, i);
end % for
end % function dijkstra

